package com.liqw.comment.dao;


import com.liqw.comment.entity.Comment;

import java.util.List;

public interface CommentDao {
    List<Comment> findAll();
    Comment getComment(String id);
    void update(Comment comment);
    void insert(Comment comment);
    void insertAll(List<Comment> comment);
    void remove(String id);
    long count(String id);
}